import request from '@/utils/request'
import qs from 'qs'

export const ThealthplanQueryAll = () =>
    request({
        url: '/tjtDiseaseLibrary/queryAll',
        method: 'get'
    })

    export const ThealthplanAdd = (TDiseaseLibrary) =>
    request({
        url: '/tjtDiseaseLibrary',
        method: 'post',
        data:TDiseaseLibrary
    })

    export const Thealthplanupd = (TDiseaseLibrary) =>
    request({
        url: '/tjtDiseaseLibrary',
        method: 'put',
        data:TDiseaseLibrary
    })

    export const ThealthplanQueryById = (id) =>
    request({
        url: '/tjtDiseaseLibrary/'+id,
        method: 'get',
    })

    export const jbkQueryAll = () =>
    request({
        url: '/tjtDiseaseLibrary/all',
        method: 'get',
    })
